-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix @spawn_or_run_task
with interactive threads
#3385
Conversation
When Julia ≥ 1.9 is started with `-tX,Y`, by default tasks use the pool of interactive threads instead of the default pool. Fix this by updating `spawn_or_run_task` to match the code used by `@spawn` in Julia master.
Do we also need to update |
And also maybe we should add to documentation that we spawn threads in |
What do you think about setting |
OK |
Looks good. Do you think we should additionally ask someone more who knows threading internals for review? |
Given that I just copied |
OK - so I think it is safe to merge this once you are ready :). |
When Julia ≥ 1.9 is started with
-tX,Y
, by default tasks use the pool of interactive threads instead of the default pool. Fix this by updatingspawn_or_run_task
to match the code used by@spawn
in Julia master.Fixes #3383.